import { defineStore } from 'pinia';


export const useHomeStore  = defineStore('home',{ 
    state: () => {
        return {
            activeMenu:'home'
        }
    },
    actions: {
        changeLoading(isTrue) { 
            this.loading = isTrue
        },
        setToken(token) { 
            this.token = token
        },
        
    }
})
